from django.contrib import admin
from .models import  *

class TypeInfoAdmin(admin.ModelAdmin):
    list_display = ["id","ttitle"]


class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 15
    list_display = ['id','gtitle','gprice','gunit','gclick','gstock','gtype']


admin.site.register(GoodsInfo,GoodsInfoAdmin)
admin.site.register(TypeInfo,TypeInfoAdmin)